package com.dhcc.sds.standard.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.BaseEntity;
import com.dhcc.core.framework.base.entity.TreeEntity;

import java.util.List;


/**
 * 项目标准化字典
 * 
 * @ClassName: SdsStandDicEntity
 * @Description: TODO
 * @author zhangdc
 * @date 2023-02-15 10:09:57
 */
@TableName("t_sds_std_dic")
public class SdsStandDicEntity extends TreeEntity<SdsStandDicEntity> {
	private static final long serialVersionUID = 1L;

	//名称
	private String name;
	//备注
	private String resume;
	//层级
	//private Integer levels;
	//父级id
	//private Long parentId;
	//对照类型（0（默认） 无需对照 1 对照医嘱 2.对照检验 3 对照病历子标题）
	private Integer compareType;
	@TableField(exist = false)
	private String sourceDesc;
	@TableField(exist = false)
	private List<SdsStandDicEntity> children;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getResume() {
		return resume;
	}

	public void setResume(String resume) {
		this.resume = resume;
	}

	public Integer getCompareType() {
		return compareType;
	}

	public void setCompareType(Integer compareType) {
		this.compareType = compareType;
	}

	public String getSourceDesc() {
		return sourceDesc;
	}

	public void setSourceDesc(String sourceDesc) {
		this.sourceDesc = sourceDesc;
	}

	@Override
	public List<SdsStandDicEntity> getChildren() {
		return children;
	}

	@Override
	public void setChildren(List<SdsStandDicEntity> children) {
		this.children = children;
	}
}
